import akshare as ak

# 获取国内期货主力合约实时行情
futures_main_df = ak.futures_main_sina()
print(futures_main_df.head())